<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    /**
      for in 循环遍历
    */
    let obj = {
      name: '张三',
      age: 12,
      sex: '男',
      paly: '运动员'
    }
    for(let value in obj){
      console.log(value);
    }
  </script>
</body>
</html>